package com.lagou.worker.api;

import org.springframework.http.ResponseEntity;

/**
 * @ClassName CodeService
 * @Description TODO
 * @Author xsq
 * @Date 2020/7/30 17:34
 **/
public interface CodeService {

    /**
     * 验证码验证
     *
     * @param email
     * @param code
     * @return
     */

    Integer validate(String email, String code);
}
